package com.eshop.modules.mp.vo;

import com.eshop.modules.mp.service.dto.WechatLiveDto;
import java.util.List;

public class WechatLiveVo
{
    private List<WechatLiveDto> content;
    private Long totalElements;
    private Integer pageNumber;
    private Integer lastPage;
    
    public List<WechatLiveDto> getContent() {
        return this.content;
    }
    
    public Long getTotalElements() {
        return this.totalElements;
    }
    
    public Integer getPageNumber() {
        return this.pageNumber;
    }
    
    public Integer getLastPage() {
        return this.lastPage;
    }
    
    public void setContent(final List<WechatLiveDto> content) {
        this.content = content;
    }
    
    public void setTotalElements(final Long totalElements) {
        this.totalElements = totalElements;
    }
    
    public void setPageNumber(final Integer pageNumber) {
        this.pageNumber = pageNumber;
    }
    
    public void setLastPage(final Integer lastPage) {
        this.lastPage = lastPage;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof WechatLiveVo)) {
            return false;
        }
        final WechatLiveVo other = (WechatLiveVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$totalElements = this.getTotalElements();
        final Object other$totalElements = other.getTotalElements();
        Label_0065: {
            if (this$totalElements == null) {
                if (other$totalElements == null) {
                    break Label_0065;
                }
            }
            else if (this$totalElements.equals(other$totalElements)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$pageNumber = this.getPageNumber();
        final Object other$pageNumber = other.getPageNumber();
        Label_0102: {
            if (this$pageNumber == null) {
                if (other$pageNumber == null) {
                    break Label_0102;
                }
            }
            else if (this$pageNumber.equals(other$pageNumber)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$lastPage = this.getLastPage();
        final Object other$lastPage = other.getLastPage();
        Label_0139: {
            if (this$lastPage == null) {
                if (other$lastPage == null) {
                    break Label_0139;
                }
            }
            else if (this$lastPage.equals(other$lastPage)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$content = this.getContent();
        final Object other$content = other.getContent();
        if (this$content == null) {
            if (other$content == null) {
                return true;
            }
        }
        else if (this$content.equals(other$content)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof WechatLiveVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $totalElements = this.getTotalElements();
        result = result * 59 + (($totalElements == null) ? 43 : $totalElements.hashCode());
        final Object $pageNumber = this.getPageNumber();
        result = result * 59 + (($pageNumber == null) ? 43 : $pageNumber.hashCode());
        final Object $lastPage = this.getLastPage();
        result = result * 59 + (($lastPage == null) ? 43 : $lastPage.hashCode());
        final Object $content = this.getContent();
        result = result * 59 + (($content == null) ? 43 : $content.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "WechatLiveVo(content=" + this.getContent() + ", totalElements=" + this.getTotalElements() + ", pageNumber=" + this.getPageNumber() + ", lastPage=" + this.getLastPage() + ")";
    }
}
